<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <title>我的购物车</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="keywords" content=""/>
    <meta name="description"
          content=""/>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">

    <meta name="format-detection" content="telephone=no"/>
    <link rel="stylesheet" href="/Public/css.css"/>

</head>
<body id="mycart">
<script type="text/javascript">
    (function () {
        document.documentElement.style.fontSize = (document.body.offsetWidth/320) * 14 + 'px';
    })()
</script>
<div class="header">
    <!--<a href="javascript:;" class="logo"></a>-->
    <a href="javascript:history.back(-1);" class="backbtn_02"></a>我的购物车
    <!--<a href="javascript:;" class="my_icon"></a>-->
</div>
<div class="content2">
    <div class="main_cart">
        
        <?php if(is_array($lst_promotion_en)): $i = 0; $__LIST__ = $lst_promotion_en;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$promotion_en): $mod = ($i % 2 );++$i;?><div style="background-color: rgb(242, 222, 222); border-color: rgb(238, 211, 215); color: rgb(185, 74, 72); text-align: center; line-height: 25px; font-weight: bold; font-size: 1.2em;">
            <?php echo ($promotion_en["promotion_desc"]); ?>
        </div><?php endforeach; endif; else: echo "" ;endif; ?>
        <ul class="cart_list" share_code="<?php echo ($share_code); ?>">
            <?php if(is_array($lst_can_buy_sku)): $i = 0; $__LIST__ = $lst_can_buy_sku;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$sku_en): $mod = ($i % 2 );++$i;?><li sku_id='<?php echo ($sku_en["sku_id"]); ?>'>
				<div class="prodimg">
					<?php if(($sku_en["desc_url"] == null) OR (trim($sku_en.desc_url) == '')): ?><img src="<?php echo ($sku_en["image"]); ?>" alt="" />
					<?php else: ?>
						<a href="<?php echo ($sku_en["full_desc_url"]); ?>"><img src="<?php echo ($sku_en["image"]); ?>" alt="" /></a><?php endif; ?>
				</div>
				<div class="proddetail2" style="width:55%;">
					<p style="font-size:1.2em;font-weight:bold;">
						<?php if(($sku_en["desc_url"] == null) OR (trim($sku_en.desc_url) == '')): echo ($sku_en["style_name"]); ?>
						<?php else: ?>
							<a href="<?php echo ($sku_en["full_desc_url"]); ?>"><?php echo ($sku_en["style_name"]); ?></a><?php endif; ?>
						
					</p>
                    <div style="color:#e4393c;display:inline; line-height:1px;" class="prodes"><?php echo ($sku_en["promotion_text"]); ?></div>
					<p style="font-size:1.2em;font-weight:bold;" class="prod_hl">￥<span class="sale_price"><?php echo ($sku_en["sale_price"]); ?></span><span style="display:none;float:right;color:blue">预返：<?php echo ($sku_en["person_commission_amount"]); ?></span></p>
				</div>
				<div class="cart_act">
					<div class="reduce"></div><input type="text" class="qty" value="0" /><div class="add"></div>
					<div class="del_btn"></div>
				</div>
			</li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
</div>
<div class="cartfix">
    <div class="cart_des" style="padding:0;">
        <span class="">商品：￥<span class="sku_amount">0.00</span></span>
        <span class="cart_total">折扣：￥<span class="discount_amount">0.00</span></span>
		<span class="cart_total">合计：￥<span class="total_amount">0.00</span></span>
    </div>
   <a href="#" class="check_total">结算</a>
</div>

<script type="text/javascript" src="/Public/js/zepto.js"></script>
<script type="text/javascript" src="/Public/js/wj.js"></script>
<script>
	var ServerConfig = eval(<?php echo ($ServerConfig); ?>);
</script> 
<script type="text/javascript" src="/Public/js/ajaxService.js"></script>
<script type="text/javascript" src="/Public/js/cart.js"></script>
</body>
</html>